package com.bd.scm.module.enums;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 序号规则枚举
 */
@Getter
public enum CodeRuleEnum {

    DEPT(1,"部门"),
    ZTBANCI(4,"班次"),
    LEAVE(5,"请假"),
    ZTBANCIDEP(6,"班次与部门配置展示表"),
    OVERTIME(10,"加班"),
    REPAIR(11,"补出勤"),
    ITEM(12,"系统基本数据"),
    SCHEDULE_GROUP(60,"班组定义"),
    BANCITYPE(61,"班次类型"),
    COSTCENTER(79,"成本中心"),
    ADMINDDEFINITION(90,"管理员定义"),
    VISITORDER(205,"访客单"),
    VISITVISIT(206,"访客信息"),
    ;//这个后面必须有分号

    private int code;
    private String name;

    private CodeRuleEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

//    public int getCode() {
//        return code;
//    }
//    public String getName() {
//        return name;
//    }
//    public void setCode(int code) {
//        this.code = code;
//    }
//    public void setName(String name) {
//        this.name = name;
//    }

}
